package com.ycsx.core.common.service;

import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.orm.hibernate3.HibernateTemplate;
import org.springframework.orm.ibatis.SqlMapClientTemplate;

/**
 * @author liruofei
 * @version Aug 29, 2010
 */
public class BaseService {

	private HibernateTemplate hibernateTemplate = null;
	private JdbcTemplate jdbcTemplate = null;
	private SqlMapClientTemplate sqlMapTemplate = null;

	public HibernateTemplate getHibernateTemplate(){
		return hibernateTemplate;
	}

	public JdbcTemplate getJdbcTemplate(){
		return jdbcTemplate;
	}

	public void setHibernateTemplate(HibernateTemplate hibernateTemplate){
		this.hibernateTemplate = hibernateTemplate;
	}

	public void setJdbcTemplate(JdbcTemplate jdbcTemplate){
		this.jdbcTemplate = jdbcTemplate;
	}

	public SqlMapClientTemplate getSqlMapTemplate(){
		return sqlMapTemplate;
	}

	public void setSqlMapTemplate(SqlMapClientTemplate sqlMapTemplate){
		this.sqlMapTemplate = sqlMapTemplate;
	}
	
}
